import unittest
import Tools

import pytest

from Zsd.unittestexcul import A3mall1


# TestSuite测试套件 1
# suite=unittest.TestSuite()
# suite.addTest(A3mall('test_A3mall_02_search'))

# 将A3mall里面全部执行一遍 2
# suite=unittest.TestLoader().loadTestsFromTestCase(A3mall)

# 3

# suite=unittest.defaultTestLoader.discover(start_dir='./Lx',pattern='unittestc*.py')
if __name__ == '__main__':

    Tools.Log2()
    pytest.main(['./Lx/pytestc.py','-s'])
    # suite=unittest.defaultTestLoader.discover(start_dir='./',pattern='/Lx/pytestc.py')
    #
    #
    # # TestRunner测试执行
    # runner=unittest.TextTestRunner()
    # runner.run(suite)



